<?php
function smarty_modifier_nameit($id, $type)
{
	return sprintf('<span class="nameit" data-type="%s" data-id="%s"></span>', $type, $id);
}
